/* 按钮基础样式 */
.action-button {
    padding: 12px 24px; /* 调整尺寸 */
    margin: 8px 0;
    border: none;
    border-radius: 8px;
    background-color: #007BFF; /* 改为蓝色 */
    color: white;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.action-button:hover {
    background-color: #0056b3; /* 深蓝色悬停效果 */
    transform: translateY(-2px);
}

/* 内容区域样式 */
.content-display {
    margin: 20px 0;
    min-height: 40px;
    border: 2px dashed #e0e0e0;
    padding: 15px;
    white-space: pre-wrap;
    cursor: crosshair;
    border-radius: 10px;
    /* 新增：兼容textarea */
    display: block;
    width: 100%;
    box-sizing: border-box;
    resize: vertical;
    font-family: inherit;
    font-size: inherit;
}

/* 选中词标签样式 */
.selected-word-tag {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    margin: 8px 10px 8px 0;
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    border-radius: 25px;
    font-size: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.selected-word-tag:hover {
    background-color: #fff0c3;
}

/* 删除按钮样式 */
.delete-btn {
    margin-left: 12px;
    padding: 3px 8px;
    color: #666;
    background: #ffe5e5;
    border-radius: 50%;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.15s ease;
}

.delete-btn:hover {
    background: #ffc1c1;
    color: #d32f2f;
    transform: scale(1.2);
}

/* 选区样式 */
.current-selection {
    background-color: #d0eaff;
}